package com.mentormobile.version.impl;

import java.sql.SQLException;

import android.database.sqlite.SQLiteDatabase;
import com.j256.ormlite.support.ConnectionSource;
import com.j256.ormlite.table.TableUtils;
import com.mentormobile.model.UsuarioMO;
import com.mentormobile.version.SystemVersions;

public class SystemVersion001 implements SystemVersions{
	private final int DATABASE_VERSION = 1;
	

	public int getDatabaseVersion() {
		return DATABASE_VERSION;
	}


	public void executeDDLDatabase(SQLiteDatabase sqlLiteDb,
			ConnectionSource con, int oldDB, int newDB) throws SQLException {
		TableUtils.createTable(con, UsuarioMO.class);
		
	}


}
